<div class="page-4 partners commonPage">
	<div class="bg-3"></div>
	<?php echo $this->element('sidebar'); ?>
	<div class="box-right zhigh">
        <?php echo $this->element('banner'); ?>
			<div class="title">
                <ul class="breadcrumbs">
                    <li><a href="<?php echo $this->General->base_url() ?>"><img style="position: relative; top: 2px;" src="<?php echo $this->webroot ?>images/home-yl-2.png" /></a></li>
                    <?php
                        foreach($breadcrumbs as $breadcrumb)
                        {
                            echo '<li><a href="'.$this->General->base_url().$breadcrumb['link'].'">'.$breadcrumb['title'].'</a></li>';
                        }
                    ?>
                </ul>
			</div>
		<?php echo $this->element('header'); ?>
		<div class="box-content">
        <?php
            foreach($artiles as $article)
            {
                $link = $this->General->base_url() .'tin-tuc/'. $article['link']['link'] .'-'. $article['article']['category_id'] .'.html';
        ?>
				<div class="item">
					<div class="img">
						<div class="box-1">
							<img src="<?php echo $this->webroot . $article['image']['name'] ?>"/>
						</div>
						<div class="box-2">
							<!--
                            <iframe src="<?php echo $article['article']['other'] ?>" width="190" height="181" frameborder="0" style="border:0"></iframe>
						    -->
                            <?php
                                $map = $article['article']['other'];
                                $array_map = explode(',', $map);
                                $lat = trim(@$array_map[0]);
                                $lng = trim(@$array_map[1]);
                            ?>
                            <iframe width="100%" height="100%" id="location" frameborder="0" scrolling="no" marginheight="0" marginwidth="0"
                        		src="https://maps.google.com/maps?q=<?php echo $lat ?>,<?php echo $lng ?>&amp;hl=en&amp;ie=UTF8&amp;t=m&amp;z=15&amp;iwloc=A&amp;ll=<?php echo $lat ?>,<?php echo $lng ?>&amp;output=embed">
                        	</iframe>
                        
                        </div>
					</div>
					<div class="detail">
						<h3 style="font-size:15px; font-weight:bold; color:#00525f; margin-bottom:15px"><?php echo $article['article_desc']['title'] ?></h3>
						<?php echo $article['article_desc']['description'] ?>
					</div>
				</div>
        <?php
            }
        ?>
        <!--
				<div class="item">
					<div class="img">
						<div class="box-1">
							<img src="<?php echo $this->webroot ?>images/part-1.jpg"/>
						</div>
						<div class="box-2">
							<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d15674.902390626701!2d106.62472740171991!3d10.832298896556576!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x317529292e8d3dd1%3A0xf15f5aad773c112b!2sHo+Chi+Minh+City%2C+Ho+Chi+Minh%2C+Vietnam!5e0!3m2!1sen!2s!4v1413988573111" width="190" height="181" frameborder="0" style="border:0"></iframe>
						</div>
					</div>
					<div class="detail">
						<h3>FunnyLand Parkson Saigon Tourist</h3>
						<span>35 Lê Thánh Tôn, P.Bến Nghé, Q.1</span>
						<span>08.2217 9500</span>
					</div>
				</div>
        -->
				<div class="clear"></div>
			<div class="clear"></div>
		</div>
	</div>
	<?php echo $this->element('footer'); ?>
</div>